<template>
	<view class="content">
		<video class="video" :src="url"
			autoplay="true"></video>
		<view class="seg">
			报告内容
		</view>
		<u-line color="white"></u-line>
		<view class="report">
			<text>{{report}}</text>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				value: '',
				type: 'text',
				border: true,
				loading: false,
				disabled: false,
				show: false,
				report:"这次你很好啊啊按时的阿法第三方的苏菲的股AV与AV度AV所是覅识别度国女接口和地阿哥IG爱海股覅个",
				url:""
			}
		},
		onLoad(option) {
			console.log(option.report)
			this.report=option.report;
			this.url=uni.getStorageSync("url");
			console.log(this.url)
			// this.getRank();
		},
		methods: {
			getRank(){
				var me=this;
				var usertoken = uni.getStorageSync("usertoken");
				var info = uni.getStorageSync("accountInfo");
				uni.request({
					url: me.serverUrl + "/gait/getReport",
					data: {
						"openid": info.openid
					},
					method: "POST",
					header: {
						"usertoken": usertoken
					},
					success(res) {
						console.log(res.data)
						if (res.data.status == 200) {
							me.report=res.data.content;
							me.url=res.data.url;
						}
					}
				})
			},


		}
	}
</script>

<style>
	@import url("gait-report.css");
</style>
